package com.tianqu;

import com.tianqu.tms.core.base.Logger;
import com.tianqu.tms.core.exception.TmsDaoException;
import com.tianqu.tms.dao.TmsConfigureDaoimp;
import com.tianqu.tms.dao.TmsDao;

/**
 * com.tianqu
 * {@link }
 *
 * @author <a href="sunwenjie@bicai365.com">wenjie.sun</a>
 * @see
 * @since 2018/10/20 2:29 PM
 */

public class LicensePlateConfigConstant {
    private static final Logger logger = Logger.getLogger(LicensePlateConfigConstant.class);
    public static String defLicensePlate = "";
    static {
        try {
            TmsConfigureDaoimp tmsConfigureDao = (TmsConfigureDaoimp) TmsConfigureDaoimp
                .getInstance(TmsDao.TMS_CONFIGURE);
            defLicensePlate = tmsConfigureDao.getConfig("defLicensePlate");
        } catch (TmsDaoException e) {
            logger.error("获取车牌号默认字失败",e);
            e.printStackTrace();
        }
    }
}
